FROM registry.cn-hangzhou.aliyuncs.com/d3rm/third-party:docker.io.library.nginx.1.25

RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo Asia/Shanghai > /etc/timezone
RUN rm -rf /usr/share/nginx/html/
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY ./build/web/ /usr/share/nginx/html/

WORKDIR /usr/share/nginx/html